package com.example;

import com.config.World;
import com.example.annotation.EnableHello;
import com.example.annotation.EnableHelloSelector;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

//@EnableHello
//@EnableHelloSelector(isLinux = false)
@RestController
@SpringBootApplication
public class SpringbootStudyApplication {

    public static void main(String[] args) {
        SpringApplication.run(SpringbootStudyApplication.class, args);
    }

    @GetMapping("/test")
    public Object test() {
        return "hello world";
    }

}
